package model;

import java.io.Serializable;

public class User implements Serializable {
	private String name;
	private int score;
	
	public User(String name, int score) {
		this.name=name;
		this.score=score;
	}
	
	public String getName() {
		return name;
	}
	
	public int getScore() {
		return score;
	}
	
	public User copy() {
		return new User(name, score);
	}
	
	public String toString() {
		return name+" has "+score+" point(s).";
	}
}
